package org.lg.service;


import org.lg.dto.BaseDto;
import org.lg.entity.Teacher;
import org.lg.page.PageInfo;


public interface TeacherService {
    public BaseDto getAllTeachers() throws Exception;
    /**
     * 分页查询学生
     * @param pageInfo
     * @return
     */

    public BaseDto getTeacherByPage(PageInfo pageInfo) throws Exception;

    public BaseDto getTop6Teacher() throws Exception;



    /**
     * 根据主键查询 示范简单参数
     * @param tno
     * @return
     */

    public BaseDto getTeacherByTno(String tno) throws Exception;

    public BaseDto addTeacher(Teacher teacher) throws Exception;
}
